﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace POCOFirst
{
	public interface ICalculator
	{
		int Add(int x, int y);
		int Subtract(int x, int y);
	}

	public class Calculator : ICalculator
	{
		public int Add(int x, int y)
		{
			var result = x + y;
			return result;
		}

		public int Subtract(int x, int y)
		{
			var result = x - y;
			return result;
		}
	}
}